//个人面板
function personalPanel(){
var personalPanel = $("#personalPanel");
var layer=$("#layer")
var navIcon = $("header>span");
navIcon.click(function(){
    layer[0].style.display="block";
    personalPanel.stop().animate({width:"60%"},500)
})
layer.click(function(){
    personalPanel.stop().animate({width:"0"},200);
    layer[0].style.display="none";
}) 
}


personalPanel();
